<?php

class Zend_View_Helper_GetCarrierCompany{
	
	public function getCarrierCompany($companyid,$con='*'){
  
       	$db=Zend_Registry::get('db');
       	
       	$select=$db->select();
       	
       	$select->from('express_companies',$con);
       	
       	$select->where("companyid='$companyid'");
       	
       	return $db->fetchOne($select);
		
	}

}

